home *** CD-ROM | disk | FTP | other *** search
/ Mac OS 9 Serial Number Archive / SN Archive 2023.11.04.toast / BSNG / SDK / BSNG SDK 2.6 / Contributed / Basic / Resources / Template / Template rsrc Script.r < prev   
Encoding:
C/C++ Source or Header  |  1998-08-22  |  1.3 KB  |  60 lines  |  [TEXT/CWIE]

  1. /* Template rsrc Script.r */
  2. /* This file is the engine of the rsrc rez files. */
  3. /* It does not need to be edited. */
  4.  
  5. #include <Types.r>
  6.  
  7. resource 'ALRT' (1000, purgeable) {
  8.     {104, 130, 205, 488},     /* 358 wide by 101 high */
  9.     1000,                             /* DITL id */
  10.     {                         /* array: 4 elements */
  11.         OK, visible, silent, /* [1] */
  12.         OK, visible, silent, /* [2] */
  13.         OK, visible, silent, /* [3] */
  14.         OK, visible, silent  /* [4] */
  15.     },
  16.  
  17.     alertPositionMainScreen
  18. };
  19.  
  20. resource 'DITL' (1000, purgeable) {
  21.   {                     /* array DITLarray: 2 elements */
  22.       {71, 288, 91, 348}, /* [1] */
  23.         Button {
  24.             enabled,
  25.             "OK"
  26.         },
  27.       {10,75,58,348},     /* [2] */
  28.         StaticText {
  29.             disabled ,
  30.             "This " PROGRAM_NAME " plugin was written in "
  31.             PLUGIN_YEAR PLUGIN_AUTHOR_DITL "."
  32.         }
  33.   }
  34. };
  35.  
  36. resource 'STR ' (1000) {
  37.     PROGRAM_NAME
  38. };
  39.  
  40. resource 'vers' (1, purgeable) {
  41.     PLUGIN_VERSION_MAJOR,
  42.     (PLUGIN_VERSION_MINOR * 0x10) + PLUGIN_VERSION_BUGFIX,
  43.     release,
  44.     0x00,
  45.     PLUGIN_AUTHOR_LOCALE,
  46.     PLUGIN_VERSION_TEXT,
  47.     PLUGIN_VERSION_TEXT "\nwritten " PLUGIN_YEAR PLUGIN_AUTHOR_VERS
  48. };
  49.  
  50. resource 'vers' (2, purgeable) {
  51.     PLUGIN_VERSION_MAJOR,
  52.     (PLUGIN_VERSION_MINOR * 0x10) + PLUGIN_VERSION_BUGFIX,
  53.     release,
  54.     0x00,
  55.     PLUGIN_AUTHOR_LOCALE,
  56.     PLUGIN_VERSION_TEXT,
  57.     "Plugin for BSNG 2.5"
  58. };
  59.  
  60.